package com.student.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SystemSetting entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "System_Setting", schema = "dbo", catalog = "StudentManager")
public class SystemSetting implements java.io.Serializable {

	// Fields

	private Long sytemSettingId;
	private String sytemSettingName;

	// Constructors

	/** default constructor */
	public SystemSetting() {
	}

	/** minimal constructor */
	public SystemSetting(Long sytemSettingId) {
		this.sytemSettingId = sytemSettingId;
	}

	/** full constructor */
	public SystemSetting(Long sytemSettingId, String sytemSettingName) {
		this.sytemSettingId = sytemSettingId;
		this.sytemSettingName = sytemSettingName;
	}

	// Property accessors
	@Id
	@Column(name = "Sytem_Setting_id", unique = true, nullable = false, precision = 18, scale = 0)
	@GeneratedValue
	public Long getSytemSettingId() {
		return this.sytemSettingId;
	}

	public void setSytemSettingId(Long sytemSettingId) {
		this.sytemSettingId = sytemSettingId;
	}

	@Column(name = "Sytem_Setting_Name")
	public String getSytemSettingName() {
		return this.sytemSettingName;
	}

	public void setSytemSettingName(String sytemSettingName) {
		this.sytemSettingName = sytemSettingName;
	}

}